import request from '@/utils/request'
export function requestData (url, method, data, params) {
  params = params || {}
  data = data || {}
  return request({
    url: url,
    method: method,
    data: data,
    params: params
  })
}
